package com.xxl.workhours.entity;

import org.greenrobot.greendao.annotation.Entity;

import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class WorkHourBean {
    @Id(autoincrement = true)
    private Long id;
    private Date date;
    private float normalHour; //正常工作小时数
    private int externalType; //加班类型 0 不加班   1平时加班   2休息日加班   3节假日加班
    private float externalHour; //加班时长
    @Generated(hash = 1845201387)
    public WorkHourBean(Long id, Date date, float normalHour, int externalType,
            float externalHour) {
        this.id = id;
        this.date = date;
        this.normalHour = normalHour;
        this.externalType = externalType;
        this.externalHour = externalHour;
    }
    @Generated(hash = 1039311757)
    public WorkHourBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Date getDate() {
        return this.date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public float getNormalHour() {
        return this.normalHour;
    }
    public void setNormalHour(float normalHour) {
        this.normalHour = normalHour;
    }
    public int getExternalType() {
        return this.externalType;
    }
    public void setExternalType(int externalType) {
        this.externalType = externalType;
    }
    public float getExternalHour() {
        return this.externalHour;
    }
    public void setExternalHour(float externalHour) {
        this.externalHour = externalHour;
    }
    
}
